package cn.tannn.cat.file.server.controller.manage.vo;

import cn.tannn.cat.file.server.common.CommonVO;
import cn.tannn.cat.file.server.enums.DictStatus;
import cn.tannn.cat.file.server.enums.DictType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * 字典
 *
 * @author <a href="https://tannn.cn/">tan</a>
 * @date 2024/3/8 10:09
 */
@Schema(description = "字典VO" )
@ToString
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class DictVO extends CommonVO<DictVO> {

    /**
     * 字典标签
     */
    @Schema(description = "字典标签")
    private String label;

    /**
     * 字典键值
     */
    @Schema(description = "字典键值")
    private String value;

    /**
     * 字典类型
     * @see DictType
     */
    @Schema(description = "字典类型")
    private DictType dictType;

    /**
     * 状态
     * @see DictStatus
     */
    @Schema(description = "字典状态")
    private DictStatus status;


    /**
     * 排序[小在前]
     */
    @Schema(description = "排序[小在前]")
    private Integer sort;


    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
}
